package com.bzg.manager.bean;

import org.apache.commons.lang3.StringUtils;

/**
 * Description:容器信息
 *
 * @author gmy
 * @date 2017年3月9日 上午10:28:42
 */
public class ContainerInfo {
	
	private String ruOrChu;//出入库标识
	private String whCode;//仓库代码
	private String partNo;//零部件编号
	private String reasonCode;//出入库类型
	private Integer changeQ;//变更数量
	private	String regDate;//注册日期
	private String regTime;//注册时间
	
	public void setRuOrChu(String ruOrChu) {
		if(StringUtils.isEmpty(ruOrChu)){
			this.ruOrChu="-";
		}else{
			this.ruOrChu = ruOrChu;
		}
	}
	public void setWhCode(String whCode) {
		if(StringUtils.isEmpty(whCode)){
			this.whCode="-";
		}else{
			this.whCode = whCode;
		}
	}
	public void setPartNo(String partNo) {
		if(StringUtils.isEmpty(partNo)){
			this.partNo="-";
		}else{
			this.partNo = partNo;
		}
	}
	public void setReasonCode(String reasonCode) {
		if(StringUtils.isEmpty(reasonCode)){
			this.reasonCode="-";
		}else{
			this.reasonCode = reasonCode;
		}
	}
	public void setChangeQ(Integer changeQ) {
		if(changeQ == null){
			this.changeQ = 0;
		}else{
			this.changeQ = changeQ;
		}
	}
	public void setRegDate(String regDate) {
		if(StringUtils.isEmpty(regDate)){
			this.regDate="-";
		}else{
			this.regDate = regDate;
		}
	}
	public void setRegTime(String regTime) {
		if(StringUtils.isEmpty(regTime)){
			this.regTime="-";
		}else{
			this.regTime = regTime;
		}
	}
	public String getRuOrChu() {
		return ruOrChu;
	}
	public String getWhCode() {
		return whCode;
	}
	public String getPartNo() {
		return partNo;
	}
	public String getReasonCode() {
		return reasonCode;
	}
	public Integer getChangeQ() {
		return changeQ;
	}
	public String getRegDate() {
		return regDate;
	}
	public String getRegTime() {
		return regTime;
	}
	
}
